<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'insertvehicle.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body background="images/picture_1.png">
 
    <div class="officialcar">
      <center><h1>录入车辆</h1>
      <table width="200" border="1">    
	   <form method="post" action="VehicleInformationServlet?mark=insert">	  
	<tr>
    <td>车  牌  号</td>
    <td><input type="text" name="plateNumber" value="桂A1234" placeholder="车牌号"></td>
  </tr>
 <tr>
    <td>车        型</td>
    <td><input type="text" name="models" value="桑塔纳" placeholder="车型"></td>
  </tr>
 <tr>
    <td>出厂日期</td>
    <td><input type="text" name="productDate" value="2017-05-20 23:30:20" placeholder="出厂日期"></td>
  </tr>
<tr>
    <td>司机信息</td>
    <td><input type="text" name="driverInformation" value="1" placeholder="司机信息"></td>
  </tr>	  
<tr>
    <td>状       态</td>
    <td><input type="text" name="state" value="1" placeholder="状态"></td>
  </tr>	  
   <tr>
    <td colspan="2"><input type="submit" name="insert" align="center" value="增加"></td>
  </tr>  
</form>  
</table>
      <br><br>
         <center><a href="admin/vehicle.jsp"><p class="submit"><input name="commit" type="submit" id="back" value="返回">
       </p></a>
    </div>
 
  </body>
</html>
